﻿using System;
using System.Collections.Generic;
using System.Linq;
using SqlSugar;

namespace _1_Interfaces.Models.Tables.Cjw
{
    /// <summary>
    /// 医院科室表
    ///</summary>
    [SugarTable("departmentList")]
    public class DepartmentList
    {
        /// <summary>
        /// 唯一标识符 
        ///</summary>
         [SugarColumn(ColumnName="departmentId" ,IsPrimaryKey = true ,IsIdentity = true  )]
         public int DepartmentId { get; set; }
        /// <summary>
        /// 科室名称 
        ///</summary>
         [SugarColumn(ColumnName="departmentName"    )]
         public string DepartmentName { get; set; }
        /// <summary>
        /// 病床数量 
        /// 默认值: 0
        ///</summary>
         [SugarColumn(ColumnName="SickBedNumber"    )]
         public int SickBedNumber { get; set; }
        /// <summary>
        /// departmrntState init 科室状态 0异常 1正常 
        /// 默认值: 1
        ///</summary>
        [SugarColumn(ColumnName = "departmentState")]
        public int DepartmentState { get; set; } = 1;
    }
}
